<?php
class Coffee extends Tpl{
    public function __construct()
    {
        $this->name = '咖啡';
    }


    public  function qinpao() {
        echo "用水冲".$this->name;
    }
    public function addCondition()
    {
        echo "加糖";
    }
}